<!DOCTYPE html>
<html>
<!-- TODO:需要将所有**href，src**引用改为thymeleaf的方式 -->

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  <title>博物馆文物后台管理系统</title>

  <!-- 共有的部分，抽取到fragment-->
  <link rel="stylesheet" href="../plugins/fontawesome-free/css/all.min.css">
  <link rel="stylesheet" href="../dist/css/adminlte.min.css">
</head>

<body class="hold-transition login-page">
  <div class="login-box">
    <div class="login-logo">
      <h3>故宫博物馆文物管理系统</h3>
    </div>
    <div class="card">
      <div class="card-body login-card-body">
        <p class="login-box-msg">请登录</p>
        <!--TODO: action为登录的接口 -->
        <form action="#" method="post">
          <div class="input-group mb-3">
            <input type="text" class="form-control" name="account" placeholder="账号" required>
            <div class="input-group-append">
              <div class="input-group-text">
                <span class="fas fa-user"></span>
              </div>
            </div>
          </div>
          <div class="input-group mb-3">
            <input type="password" class="form-control" name="password" placeholder="密码" required>
            <div class="input-group-append">
              <div class="input-group-text">
                <span class="fas fa-lock"></span>
              </div>
            </div>
          </div>
          <div class="row">
            <div class="col-8">
              <div class="icheck-primary">
                <input type="checkbox" id="remember">
                <label for="remember">
                  记住我
                </label>
              </div>
            </div>
            <div class="col-4">
              <p class="mb-1">
                <!--TODO: 忘记密码的接口 -->
                <a href="#" style="float: right;">忘记密码</a>
              </p>
            </div>
          </div>
          <div class="row" style="margin-top: 20px;margin-bottom: 10px;">
            <div class="col-12">
              <button type="submit" class="btn btn-primary btn-block">登录</button>
            </div>
          </div>
        </form>
      </div>
      <!-- /.login-card-body -->
    </div>
  </div>
  <!-- /.login-box -->

  <!-- Bootstrap 4 -->
  <!-- AdminLTE App -->
  <script src="../dist/js/adminlte.min.js"></script>
</body>

</html>